Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly update computer digest when state of contract 0 is changed #84

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

philippwerner
Copy link
Contributor

When contract 0 state is changed, set flag for updating digest.

This fixes an issue that led to misalignment between nodes that survived the seamless epoch transition at April 3, 2024 (no full update of computer digest) and nodes that were restarted (forced full computing of computer digest after reloading contract files).

@krypdkat
Copy link
Contributor

krypdkat commented Apr 4, 2024

looks good to me, let test this on test net next few days to confirm the issue is gone

@philippwerner philippwerner merged commit 082e237 into develop Apr 4, 2024
1 check passed
@philippwerner philippwerner deleted the 2024-04-03-FixContract0DigestNotUpdated branch April 4, 2024 10:31
philippwerner added a commit that referenced this pull request Apr 9, 2024
…84)

* When contract 0 state is changed, set flag for updating digest

* Wrap fee reserve change into function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants